<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('Examine/index')}">充值审核管理</a></li>
			<!--<li><a href="{:U('AdminRecharge/add',array('id'=>empty($item['id'])?'':$item['id']))}" target="_self">充值</a></li>-->
		</ul>
        
		<form class="js-ajax-form" action="" method="post">

			<table class="table table-hover table-bordered table-list">
                <thead>
                <tr>
                    <th>公司名称</th>
                    <th>公司类型</th>
                    <th>当前余额</th>
                    <th>充值金额</th>
                    <th>充值后余额</th>
                    <th>赠送金额</th>
                    <th>状态</th>
                    <th>创建时间</th>
                    <th>操作人</th>
                    <th>操作时间</th>
                    <th>{:L('ACTIONS')}</th>
                </tr>
                </thead>
                <foreach name="list" item="vo">
                    <tr>
                        <td>{$vo.company_name}</td>
                        <td>{$vo.company_type}</td>
                        <td>{$vo.company_balance}</td>
                        <td>{$vo.price}</td>
                        <td>{$vo.after_balance}</td>
                        <td>{$vo.general_price}</td>
                        <td>{$vo.name}——{$vo.status_label}</td>
                        <td>{:date("Y-m-d H:i:s",$vo['create_time'])}</td>
                        <td>{$vo.user_nicename}</td>
                        <td>{:$vo['update_time']?date("Y-m-d H:i:s",$vo['update_time']):''}</td>
                        <td>
                            <a href="{:U('Examine/detail',array('id'=>$vo['id']))}">审核</a> | 
                            <a href="{:U('Examine/detail',array('id'=>$vo['id'],'s_download'=>'1'))}">导出记录</a>
                        </td>
                    </tr>
                </foreach>

			</table>

			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js?1"></script>
	<script>
		function refersh_window() {
			var refersh_time = getCookie('refersh_time');
			if (refersh_time == 1) {
				window.location = "{:U('AdminRecharge/index',$formget)}";
			}
		}

        // function to_examine_post(id, status){
        //     var url = "{:U('AdminExamine/to_examine_post')}";
        //     $.post(url,{id:id,status:status},function(res){
        //         if (res.status) {
        //             location.href = 
        //         }
        //     },'json');
        // }

	</script>
</body>
</html>